﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skyworth.CRM.Service.Entity
{
    [Serializable]
    public class Department:BaseEntity
    {
        private int _departId = 0;
        private string _departmentName = string.Empty;
        private int _parentId = 0;
        private int _level = 0;

        private string _description = string.Empty;

        public int DepartId
        {
            get { return _departId; }
            set { _departId = value; }
        }

        public string DepartmentName
        {
            get { return _departmentName; }
            set { _departmentName = value; }
        }

        public int ParentId
        {
            get { return _parentId; }
            set { _parentId = value; }
        }

        public int Level
        {
            get { return _level; }
            set { _level = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }
    }
}
